def exc(num, calc):
    result = calc(num)
    print(result)


def calc_sum(num):
    return 3 + num


def calc_square(num):
    return num * num


exc(3, calc_sum)
exc(3, calc_square)
print("-" * 200)

exc(6, lambda num: num + 10)
